package com.cg.service;


import com.cg.entity.Department;
import com.cg.vo.DepartmentInfoVo;

import java.util.List;

/**
 * (Department)表服务接口
 *
 * @author chengong
 * @since 2024-01-07 12:26:07
 */
public interface DepartmentService {

    /**
     * 根据院区id查询科室
     */
    List<Department> queryDepartmentByBranchId(Integer branchId);

    /**
     * 根据科室名称模糊查询科室列表
     */
    List<Department> queryDepartmentByDepartmentName(String departmentName);

    /**
     * 根据科室id查询科室详情
     */
    DepartmentInfoVo queryDepartmentInfo(Integer departmentId);
}
